<?php
namespace App\Models;

class GoodsModel extends BaseModel{

    protected $table = 'goods';

    protected $primaryKey='goods_id';

    public $timestamps = false;

    public function channel_cate_goods(){
       return  $this->hasMany('App\Models\ChannelCateGoodsModel','goods_id','goods_id');
    }
}